package com.example.userinfoservice.service;

import com.example.userinfoapi.request.UserInfoRegisterRequest;
import com.example.userinfoapi.request.UserInfoRequest;
import com.example.userinfoapi.response.UserInfoResponse;
import com.example.userinfoapi.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserInfoRequest user);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse selectAuthorInfoByBlogId(Integer blogId);

    Integer register(UserInfoRegisterRequest registerRequest);
}
